using System.Data;
using System.Collections;
using Microsoft.VisualBasic;
using System.Diagnostics;
using System;
using Microsoft.ReportingServices.ReportRendering;
namespace CustomExcelRenderCS
{
    internal class FormulaHandler
    {
        private Microsoft.ReportingServices.ReportRendering.ReportItem mReportItem;
        private string mFormula;
        /// <summary>
        /// constract Excel object in order to translate Report expression to Excel formula at a later time
        /// </summary>
        internal FormulaHandler()
        {           
        }

        /// <summary>
        /// formula property set by different formula handler object
        /// </summary>
        internal string formula
        {
            get
            {
                return mFormula;
            }
            set
            {
                mFormula = value;
            }
        }

        /// <summary>
        /// report object used to process Excel Formula transform
        /// </summary>
        internal Microsoft.ReportingServices.ReportRendering.ReportItem targetReportItem
        {
            get
            {
                return mReportItem;
            }
            set
            {
                mReportItem = value;
            }
        }

        /// <summary>
        /// generate formula
        /// </summary>
        internal virtual string getFormula()
        {
            string formula = "";
 
            return formula;
        }
    }
	
}
